type golang.org/x/exp/apidiff.objectWithSide
35 uses
golang.org/x/exp/apidiff (current package)
apidiff.go#L129: func (d *differ) incompatible(obj objectWithSide, part, format string, args ...interface{}) {
apidiff.go#L133: func (d *differ) compatible(obj objectWithSide, part, format string, args ...interface{}) {
apidiff.go#L137: func addMessage(ms messageSet, obj objectWithSide, part, format string, args []interface{}) {
apidiff.go#L190: d.incompatible(objectWithSide{oldobj, false}, "", "removed")
apidiff.go#L200: d.compatible(objectWithSide{newobj, true}, "", "added")
apidiff.go#L232: d.incompatible(objectWithSide{otn2, false}, "", "no longer implements %s", objectString(otn1, oldRootPackagePath))
apidiff.go#L247: d.checkCorrespondence(objectWithSide{old, false}, "", old.Type(), new.Type())
apidiff.go#L253: d.checkCorrespondence(objectWithSide{old, false}, "", old.Type(), new.Type())
apidiff.go#L256: d.compatible(objectWithSide{old, false}, "", "changed from func to var")
apidiff.go#L257: d.checkCorrespondence(objectWithSide{old, false}, "", old.Type(), new.Type())
apidiff.go#L263: d.checkCorrespondence(objectWithSide{old, false}, "", old.Type(), new.Type())
apidiff.go#L270: d.incompatible(objectWithSide{old, false}, "", "changed from %s to %s",
apidiff.go#L280: d.typeChanged(objectWithSide{old, false}, "", ot, nt)
apidiff.go#L286: d.incompatible(objectWithSide{old, false}, "", "value changed from %s to %s", old.Val(), new.Val())
apidiff.go#L305: func (d *differ) checkCorrespondence(obj objectWithSide, part string, old, new types.Type) {
apidiff.go#L311: func (d *differ) typeChanged(obj objectWithSide, part string, old, new types.Type) {
compatibility.go#L19: d.checkCompatibleStruct(objectWithSide{otn, false}, old, new)
compatibility.go#L39: d.checkCorrespondence(objectWithSide{otn, false}, "", old, new)
compatibility.go#L44: d.typeChanged(objectWithSide{otn, false}, "", old, new)
compatibility.go#L48: d.checkCorrespondence(objectWithSide{otn, false}, ", element type", old.Elem(), new.Elem())
compatibility.go#L51: d.compatible(objectWithSide{otn, false}, "", "removed direction")
compatibility.go#L53: d.incompatible(objectWithSide{otn, false}, "", "changed direction")
compatibility.go#L66: d.compatible(objectWithSide{otn, false}, "", "changed from %s to %s", old, new)
compatibility.go#L68: d.typeChanged(objectWithSide{otn, false}, "", old, new)
compatibility.go#L121: d.incompatible(objectWithSide{otn, false}, u.Name(), "added unexported method")
compatibility.go#L153: func (d *differ) checkCompatibleStruct(obj objectWithSide, old, new *types.Struct) {
compatibility.go#L245: func (d *differ) checkCompatibleObjectSets(obj objectWithSide, old, new map[string]types.Object) {
compatibility.go#L306: d.incompatible(objectWithSide{oldMethod, false}, part, "removed")
compatibility.go#L308: obj := objectWithSide{oldMethod, false}
compatibility.go#L315: obj = objectWithSide{newMethod, true}
compatibility.go#L325: d.compatible(objectWithSide{newMethod, true}, "", "added")
compatibility.go#L327: d.incompatible(objectWithSide{newMethod, true}, "", "added")
messageset.go#L17: type objectWithSide struct {
messageset.go#L27: type messageSet map[objectWithSide]map[string]string
messageset.go#L32: func (m messageSet) add(obj objectWithSide, part, msg string) {